package com.mrjy.maintain.dao;

import java.util.List;
import java.util.Map;

import com.mrjy.common.entity.MingrenTeamInfo;
import com.mrjy.maintain.dto.MingrenTeamInfoDTO;


public interface IMingrenTeamInfoDao {
	
	public int insert(MingrenTeamInfo info);

	public int deleteByIds(int[] ids);
	
	public int updateById(MingrenTeamInfo info);

	public MingrenTeamInfoDTO queryById(int id);

	public int querySumMingrenTeamInfo(MingrenTeamInfoDTO dto);

	public List<MingrenTeamInfoDTO> queryPage(MingrenTeamInfoDTO dto);

	public int updateDisableFlag(MingrenTeamInfo info);
	
	List<Integer> selectMingrenTeamByRecommendCode(Map<String,Object> map);

	public List<MingrenTeamInfoDTO> queryByUserId(MingrenTeamInfoDTO info);
	
}
